// plugins/arco-design.js
import { defineNuxtPlugin } from "#app";
import ArcoVue from "@arco-design/web-vue";
import ArcoVueIcon from "@arco-design/web-vue/es/icon";
// import '@arco-design/web-vue/dist/arco.css';

export default defineNuxtPlugin((nuxtApp) => {
  // 注册 Arco Design 组件
  nuxtApp.vueApp.use(ArcoVue);
  // 注册 Arco Design 图标组件
  nuxtApp.vueApp.use(ArcoVueIcon);
  console.log("Arco Design 组件和图标已在服务器端注册");
});
